import { Layout } from '@fl/utils/routerHelper'
import elevatorBoardRoute from './module/board'
import elevatorRequirementRoute from './module/requirement-manage'
import elevatorApplyRoute from './module/apply'

// export const elevatorBoardRoute: AppRouteRecordRaw = {
//     children: [
//         {
//             component: () => import('@/pages/retrofit-elevator/board/district-data.vue'),
//             meta: {
//                 title: '数据统计与分析',
//             },
//             name: 'district-data',
//             path: 'board/district-data',
//         },
//     ],
//     component: Layout,
//     meta: {
//         alwaysShow: true,
//         icon: 'i-gg:data',
//         title: '看板',
//     },
//     name: 'retrofit-elevator',
//     path: '/retrofit-elevator',
// }
const elevatorRoute   = {
    children: [
        elevatorRequirementRoute,
        elevatorApplyRoute,
        elevatorBoardRoute,
    ],
    component: Layout,
    meta: {
        title: '加装电梯',
    },
    name: 'retrofit-elevator',
    path: '/retrofit-elevator',
    redirect: '/retrofit-elevator/requirement/success-list',
}

export default elevatorRoute